home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 11 / lookf50c.zip / LOOKFOR.DOC < prev    next >
Text File  |  1990-10-03  |  11KB  |  220 lines

  1.                                                                   
  2.                        LOOKFOR V.5.0
  3.         Copyright (C) 1988,89,90 by David L. Trafton
  4.  
  5.           LOOKFOR is a program for rapidly searching text files
  6. for the occurrences of words and phrases and then displaying the
  7. occurrences in reasonably formatted full-screen context.  Words
  8. and phrases may be joined by the connectors AND and OR and
  9. searched for in a logical context.  The search words are
  10. highlighted and the display may be scrolled or paged through the
  11. text file.  Excerpts may be printed out or accumulated in a new
  12. file for later revision with a word processor.
  13.  
  14.           An IBM-PC or compatible and MS-DOS 2.0+ are required to
  15. use this program.
  16.  
  17.           LOOKFOR has been designed to accept search queries in
  18. plain English, although economy of wording is desirable.  For
  19. example, at the DOS command prompt, the entry of:
  20.  
  21.     "lookfor marsupial and radish or turnip in \diary6\*.*"
  22.  
  23. would load LOOKFOR and commence a search of all files in root
  24. subdirectory DIARY6 and its subdirectories for the occurrence of
  25. MARSUPIAL(S) within a predetermined proximity to either
  26. RADISH(ES) or TURNIP(S).  A file specification is only recognized
  27. from the DOS command prompt.
  28.  
  29.           The best way to begin using LOOKFOR is to simply run
  30. the program and follow the prompts.
  31.  
  32.           <F1> gets HELP at any time.
  33.  
  34.           <F7> invokes a color selection menu for the display.
  35.  
  36.           At the "Looking for" prompt, type in the words and
  37. phrases using up to 3 ANDs and any number of ORs.  The query may
  38. be up to 64 characters long.
  39.  
  40.           EVERY "AND" IN THE QUERY MUST BE SATISFIED TO RECORD A
  41. "HIT".  Note that the range within which the ANDed terms must
  42. occur is changeable with the <F2> key.  Specifying a range of 100
  43. characters would establish approximately one line as the range;
  44. 300 approximately one sentence; 1000 approximately one screen.
  45. Specifying "document" for the range requires only that all the
  46. ANDed terms of the query appear somewhere in the file.  They will
  47. be highlighted but not otherwise identified by location in that
  48. case.
  49.  
  50.           The <F3> key selects whether graphics characters are
  51. searched and displayed or are converted by having their eighth
  52. bit ignored.  Converting is helpful for Wordstar files.
  53.  
  54.           A search query is made up of one or more terms joined
  55. with ANDs.  Each term is made up of one or more words or phrases
  56. joined by ORs.
  57.  
  58.           Endings on words in the searched text are ignored.
  59. Thus, a search for "computer" will find "computer", "computers",
  60. and "computerized".  However, if "computer" is the last word in a
  61. term, placing a space at the end of the word will require that
  62. the word end at that point with a space or other nulled
  63. character.
  64.  
  65.           An apostrophe may be used as the first character in the
  66. first word of a term as a wildcard to find embedded
  67. occurrences of the word.  Thus, "'computer" will match with
  68. "computer", "minicomputer", and "microcomputer" as well as their
  69. plurals.
  70.  
  71.           A filename will be asked for next.  Many options are
  72. available at this point.  Using DOS conventions, the default
  73. drive may be changed (for example, enter A:), or the subdirectory
  74. may be changed (for example, enter CD \NEWPATH\MOREPATH or CD..
  75. or CD ONPATH), or a directory may be viewed (for example, DIR or
  76. DIR A:*.TXT).  If a particular file is wanted, enter its name.
  77. Wildcards such as "*.txt" may be used.  If nothing is specified,
  78. the default is "*.*".
  79.  
  80.           The <F4> key selects how far in the text LOOKFOR jumps
  81. ahead after finding a hit.  If there are many hits on the same
  82. screen, it is more efficient to go on to another screen when the
  83. next hit is selected for display.  If the display lines are very
  84. short, select a slight jump ahead to be sure to see them all. If
  85. it is desirable to count every occurrence of a word, set the jump
  86. ahead for none.
  87.  
  88.           The <F5> key selects the display line that the current
  89. hit will appear on.  The hit line may be set from 1 to 9.  It is
  90. usually desirable to be able to see text before and after the
  91. occurrence of the searched word or expression.
  92.  
  93.           The <F6> key selects whether or not all of the included
  94. subdirectories are to be searched after the parent subdirectory
  95. is searched.  LOOKFOR will search up to 5 subdirectories deep for
  96. all matching filenames with or without wildcards.
  97.  
  98.           After the search has begun, the first file containing
  99. hits will be presented for display.  An option exists for having
  100. all the hits sent to a printer.  This is useful for later
  101. perusal.  Ordinarily, the search results will only be viewed on
  102. the screen.
  103.  
  104.           Assuming viewing is selected, the left and right cursor
  105. keys move from hit to hit.  The <space bar> may also be used for
  106. jumping to the next hit.  The up and down cursor keys scroll the
  107. display by lines.  The display may be paged with the <PgUp> and
  108. <PgDn> keys, and the display may be jumped to the beginning or
  109. end of the file with the <HOME> and <END> keys.
  110.  
  111.           When viewing very large files, it will sometimes be
  112. desirable to jump forward and backward in larger increments than
  113. paging allows.  The <F9> and <F10> keys skip in 20 kilobyte
  114. increments (if possible) and the <Alt-F9> and <Alt-F10> keys skip
  115. in 200 kilobyte increments.  When large blocks of text are
  116. skipped over, the hit counter is reset to the nearest hit.
  117. Pressing the <-> key toggles highlighting, and the <+> key moves
  118. on to the next file.
  119.  
  120.           Printing options are available when viewing a file.
  121. Pressing the unshifted <PrtSc> key will print the screen contents
  122. including the heading but not the menu bars.  Pressing the <P>
  123. key will allow the cursor to be moved around on the screen.
  124. Pressing <F5> at any space position inserts a start marker and
  125. <F6> inserts an end marker.  Several pairs of markers may be used
  126. if desired.  The start marker may be omitted for printing from
  127. the beginning of the screen and the end marker may be omitted if
  128. printing goes to the end of the screen.  Markers may be deleted
  129. with the <DEL> key.  Pressing <ENTER> causes the excerpts to be
  130. printed out. If no markers are inserted, the full text on the
  131. screen is printed without header and menu bars.  Thus, with
  132. paging, contiguous screens of text may be printed.
  133.  
  134.           Similar to the <P> option for printing, pressing the
  135. <S> key allows excerpts to be prepared for a new disk file.  A
  136. new filename is required for each session of LOOKFOR to protect
  137. existing files from being overwritten.  Once an excerpt file has
  138. been created within a session, all subsequent excerpts are
  139. appended to that file unless a new filename is specified.
  140.  
  141.           Use the <ESC> key to leave any LOOKFOR function.
  142.  
  143.           When LOOKFOR is in a query mode, pressing the <F8> key
  144. displays the translation table and other options.  All control
  145. characters except ASCII 20 () and 21 () are permanently
  146. nulled to prevent adverse effects on the search of a file.  The
  147. other characters may be optionally translated, however.  The
  148. punctuation marks are normally nulled to prevent their affecting
  149. a search, but they are displayed in the results.  The lower case
  150. characters are translated to upper case to make searches case
  151. insensitive.  The foreign characters are translated from lower
  152. case to upper case for the IBM multilingual code page, and the
  153. other graphics are nulled for searching but may be displayed if
  154. that option is selected from the query screen.  Follow the
  155. displayed instructions for changing character translations.  Note
  156. that the translation table affects only how the characters of a
  157. file are searched -- not how they are displayed.
  158.  
  159.           When finished with the table, press <ESC> and other
  160. options are presented.  The first option presented is to modify
  161. the filename extensions that LOOKFOR skips when searching.  Non-
  162. text files should not be searched.  Typically, such files have
  163. extensions of "COM" or "EXE" if they are programs or "ARC" or
  164. "ZIP" if they are compressed code files.
  165.  
  166.           Press <ESC> again and note the option of saving the
  167. changes to the LOOKFOR program.  LOOKFOR.COM must be in the
  168. current directory to do this.  All parameters previously selected
  169. with the <Fn> keys (including display colors) will be saved along
  170. with the translation table with one exception: the space
  171. character will always be saved as a null to avoid surprise
  172. results on search queries in future sessions.  It is usually
  173. desirable to be able to find phrases that are interrupted by
  174. variable spacing and punctuation.
  175.  
  176.           LOOKFOR may be used to just view a file without
  177. searching for anything.  Enter nothing for the search query and
  178. give the filename when prompted.  The program utilizes 64K of
  179. memory, but files of virtually any size can be searched and
  180. viewed. LOOKFOR has a limit of 1000 hits that may be stored. Not
  181. necessarily every hit on a search query will be counted as a hit
  182. because of the jump ahead feature, but every hit should be seen
  183. on the display.
  184.  
  185.           Shareware versions of LOOKFOR are meant to be
  186. distributed free for trial use.  Any person who adopts the
  187. program for regular personal use is expected to pay $15 to the
  188. author. If adopted by an organization for its use, the fee for
  189. each workstation where LOOKFOR is used is $15.  Site licenses are
  190. available.
  191.  
  192.           Users of LOOKFOR are expected to make their own copies
  193. of the program.  Modification of the program or resale for more
  194. than the cost of distribution are prohibited.
  195.  
  196.           The author may be contacted by electronic mail by
  197. posting a message to him on Chevy Chase Board BBS, Alexandria,
  198. VA, (703) 549-5574.  A routed message may be left for him on any
  199. BBS which is a member of the RelayNet (tm) network, by posting a
  200. message in the RelayNet COMMON conference, addressed to David
  201. Trafton, with the first line as follows:
  202. ->CHEVY
  203. There must not be a space between the arrow formed by -> and the
  204. Network ID, CHEVY.
  205.  
  206.           The author may also be contacted by electronic mail on
  207. any BBS which is a member of the MetroLink (tm) network and which
  208. carries the DCINFO MetroLink conference, by posting a message
  209. addressed to David Trafton in that conference.  Note that
  210. MetroLink does not support either Routed or "Receiver Only"
  211. messages between BBSes.
  212.  
  213.           Considerable effort has been expended to make LOOKFOR
  214. dependable and safe to use.  However, the author cannot be
  215. responsible for any consequences arising from its use.
  216.  
  217. AUTHOR:          David L. Trafton
  218.                  6309 Stoneham Rd.
  219.                  Bethesda, Md. 20817
  220.